import 'dart:ffi';

void main(List<String> args) {
  test('value');
  Person person = Person('张三', 18, '123456');
  print(person.name);
  Test2();
}

T test<T>(T value) {
  print('object');
  return value;
}

class Person<T>{
  String? name;
  int? age;
  T? id;
  Person(this.name,this.age,this.id);
}


Test2<T>(){
  List list = [];
 Int getLean<T>( list){
    return list.length;
  }

 T printItem(number,item){
   return item[number];
  }
}

